//
//
//

#ifndef CBULLETPHYSICS_H
#define CBULLETPHYSICS_H


/*=============================
======== bullet physics engine headers===
==============================*/


#include <btBulletDynamicsCommon.h>
#include <btBulletDynamicsCommon.h>


/*=============================
========== main bullet class ==========
===============================*/

class CBulletPhysics
{
public:
	//CBulletPhysics();

	//~CBulletPhysics();

	virtual bool Init();
	//virtual bool Simulate();

	// Direct Interfaces
	btDiscreteDynamicsWorld*	GetDynamicWorld()	{ return m_pDynamicsWorld; }

protected:
private:
	//setting vars
	btDefaultCollisionConfiguration*	m_pDefaultCollisionConfiguration;
	btCollisionDispatcher*	m_pDispatcher;
	btBroadphaseInterface*	m_pOverlappingPairCache;
	btSequentialImpulseConstraintSolver*	m_pSolver;

	//
	btDiscreteDynamicsWorld*	m_pDynamicsWorld;
};

#endif

